#ifndef VERTEX2D_H
#define VERTEX2D_H

#include <QObject>

class Vertex2D : public QObject {
    Q_OBJECT
public:
    Vertex2D(double x, double y) {
        setValues(x, y);
    }
    ~Vertex2D(){}
    virtual void setValues(double x, double y) {
        this->x = x; this->y = y;
    }
private:
    double x, y;
};

#endif // VERTEX2D_H
